home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •Star Fleet HQ• / Star Patrol •••• / Star Patrol ееее.rsrc / CODE_3_GInit.txt < prev    next >
Text File  |  1990-02-12  |  60KB  |  1,017 lines

  1. # near model CODE resource
  2. # jump table entries: 1184-1193 (10 of them)
  3. fn00000000:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  42A7                     clr.l      -[A7]
  6. 00000006  3F3C 009F                move.w     -[A7], 0x9F
  7. 0000000A  4EAD 00D2                jsr        [A5 + 0xD2 /* export_22 */]
  8. 0000000E  42A7                     clr.l      -[A7]
  9. 00000010  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  10. 00000014  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  11. 00000018  4EAD 00DA                jsr        [A5 + 0xDA /* export_23 */]
  12. 0000001C  201F                     move.l     D0, [A7]+
  13. 0000001E  B09F                     cmp.l      D0, [A7]+
  14. 00000020  56C0                     sne        D0
  15. 00000022  4400                     neg.b      D0
  16. 00000024  1D40 0010                move.b     [A6 + 0x10], D0
  17. 00000028  4E5E                     unlink     A6
  18. 0000002A  205F                     movea.l    A0, [A7]+
  19. 0000002C  504F                     addq.w     A7, 8
  20. 0000002E  4ED0                     jmp        [A0]
  21. fn00000030:
  22. 00000030  4E56 0000                link       A6, 0
  23. 00000034  48E7 0018                movem.l    -[A7], A3,A4
  24. 00000038  266E 0008                movea.l    A3, [A6 + 0x8]
  25. 0000003C  3778 0B22 0010           move.w     [A3 + 0x10], [0x00000B22 /* HWCfgFlags */]
  26. 00000042  3778 028E 0012           move.w     [A3 + 0x12], [0x0000028E /* ROM85 */]
  27. 00000048  284B                     movea.l    A4, A3
  28. 0000004A  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  29. 0000004E  4880                     ext.w      D0
  30. 00000050  3940 000C                move.w     [A4 + 0xC], D0
  31. 00000054  2038 02AE                move.l     D0, [0x000002AE /* ROMBase */]
  32. 00000058  5080                     addq.l     D0, 8
  33. 0000005A  2040                     movea.l    A0, D0
  34. 0000005C  3950 000E                move.w     [A4 + 0xE], [A0]
  35. 00000060  7000                     moveq.l    D0, 0x00
  36. 00000062  302C 0010                move.w     D0, [A4 + 0x10]
  37. 00000066  C0BC FFFF 8000           and.l      D0, 0xFFFF8000
  38. 0000006C  4A80                     tst.l      D0
  39. 0000006E  5EC0                     sgt        D0
  40. 00000070  4400                     neg.b      D0
  41. 00000072  1940 0008                move.b     [A4 + 0x8], D0
  42. 00000076  7000                     moveq.l    D0, 0x00
  43. 00000078  302C 0010                move.w     D0, [A4 + 0x10]
  44. 0000007C  C0BC 0000 1000           and.l      D0, 0x1000
  45. 00000082  4A80                     tst.l      D0
  46. 00000084  5EC0                     sgt        D0
  47. 00000086  4400                     neg.b      D0
  48. 00000088  1940 0009                move.b     [A4 + 0x9], D0
  49. 0000008C  7000                     moveq.l    D0, 0x00
  50. 0000008E  302C 0010                move.w     D0, [A4 + 0x10]
  51. 00000092  C0BC 0000 0400           and.l      D0, 0x400
  52. 00000098  4A80                     tst.l      D0
  53. 0000009A  5EC0                     sgt        D0
  54. 0000009C  4400                     neg.b      D0
  55. 0000009E  1940 000A                move.b     [A4 + 0xA], D0
  56. 000000A2  7000                     moveq.l    D0, 0x00
  57. 000000A4  302C 000E                move.w     D0, [A4 + 0xE]
  58. 000000A8  C0BC 0000 00FF           and.l      D0, 0xFF
  59. 000000AE  0C80 0000 00FF           cmpi.l     D0, 0xFF
  60. 000000B4  57C0                     seq        D0
  61. 000000B6  4400                     neg.b      D0
  62. 000000B8  1880                     move.b     [A4], D0
  63. 000000BA  4A6C 0012                tst.w      [A4 + 0x12]
  64. 000000BE  5CC0                     sge        D0
  65. 000000C0  4400                     neg.b      D0
  66. 000000C2  1940 0001                move.b     [A4 + 0x1], D0
  67. 000000C6  207C 0000 03F6           movea.l    A0, 0x3F6
  68. 000000CC  4A50                     tst.w      [A0]
  69. 000000CE  5EC0                     sgt        D0
  70. 000000D0  4400                     neg.b      D0
  71. 000000D2  1940 0002                move.b     [A4 + 0x2], D0
  72. 000000D6  082C 0006 0012           btst.b     [A4 + 0x12], 0x6
  73. 000000DC  57C0                     seq        D0
  74. 000000DE  4400                     neg.b      D0
  75. 000000E0  1940 0003                move.b     [A4 + 0x3], D0
  76. 000000E4  2F3C A80B 0000           move.l     -[A7], 0xA80B0000
  77. 000000EA  1F3C 0001                move.b     -[A7], 0x1
  78. 000000EE  2F0E                     move.l     -[A7], A6
  79. 000000F0  4EBA FF0E                jsr        [PC - 0xF2 /* 00000000 */]
  80. 000000F4  101F                     move.b     D0, [A7]+
  81. 000000F6  C02C 0001                and.b      D0, [A4 + 0x1]
  82. 000000FA  1940 0004                move.b     [A4 + 0x4], D0
  83. 000000FE  2F3C A8B5 0000           move.l     -[A7], 0xA8B50000
  84. 00000104  1F3C 0001                move.b     -[A7], 0x1
  85. 00000108  2F0E                     move.l     -[A7], A6
  86. 0000010A  4EBA FEF4                jsr        [PC - 0x10C /* 00000000 */]
  87. 0000010E  101F                     move.b     D0, [A7]+
  88. 00000110  C02C 0001                and.b      D0, [A4 + 0x1]
  89. 00000114  1940 0005                move.b     [A4 + 0x5], D0
  90. 00000118  2F3C A83E 0000           move.l     -[A7], 0xA83E0000
  91. 0000011E  1F3C 0001                move.b     -[A7], 0x1
  92. 00000122  2F0E                     move.l     -[A7], A6
  93. 00000124  4EBA FEDA                jsr        [PC - 0x126 /* 00000000 */]
  94. 00000128  101F                     move.b     D0, [A7]+
  95. 0000012A  C02C 0001                and.b      D0, [A4 + 0x1]
  96. 0000012E  1940 0006                move.b     [A4 + 0x6], D0
  97. 00000132  2F3C A803 0000           move.l     -[A7], 0xA8030000
  98. 00000138  1F3C 0001                move.b     -[A7], 0x1
  99. 0000013C  2F0E                     move.l     -[A7], A6
  100. 0000013E  4EBA FEC0                jsr        [PC - 0x140 /* 00000000 */]
  101. 00000142  101F                     move.b     D0, [A7]+
  102. 00000144  C02C 0001                and.b      D0, [A4 + 0x1]
  103. 00000148  1940 0007                move.b     [A4 + 0x7], D0
  104. 0000014C  4CDF 1800                movem.l    A3,A4, [A7]+
  105. 00000150  4E5E                     unlink     A6
  106. 00000152  2E9F                     move.l     [A7], [A7]+
  107. 00000154  4E75                     rts
  108. export_148:
  109. 00000156  4E56 FFF2                link       A6, -0x000E
  110. 0000015A  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  111. 0000015E  486D FB1C                pea.l      [A5 - 0x4E4]
  112. 00000162  4EBA FECC                jsr        [PC - 0x134 /* 00000030 */]
  113. 00000166  422D FAE9                clr.b      [A5 - 0x517]
  114. 0000016A  42A7                     clr.l      -[A7]
  115. 0000016C  42A7                     clr.l      -[A7]
  116. 0000016E  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  117. 00000172  2B5F FB0C                move.l     [A5 - 0x4F4], [A7]+
  118. 00000176  7000                     moveq.l    D0, 0x00
  119. 00000178  2B40 FB14                move.l     [A5 - 0x4EC], D0
  120. 0000017C  42A7                     clr.l      -[A7]
  121. 0000017E  42A7                     clr.l      -[A7]
  122. 00000180  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  123. 00000184  2B5F FB10                move.l     [A5 - 0x4F0], [A7]+
  124. 00000188  7000                     moveq.l    D0, 0x00
  125. 0000018A  2B40 FB18                move.l     [A5 - 0x4E8], D0
  126. 0000018E  7000                     moveq.l    D0, 0x00
  127. 00000190  2B40 FAFA                move.l     [A5 - 0x506], D0
  128. 00000194  1B7C 0001 FB0B           move.b     [A5 - 0x4F5], 0x1
  129. 0000019A  422D FAE8                clr.b      [A5 - 0x518]
  130. 0000019E  7000                     moveq.l    D0, 0x00
  131. 000001A0  2B40 FAEE                move.l     [A5 - 0x512], D0
  132. 000001A4  7000                     moveq.l    D0, 0x00
  133. 000001A6  2B40 FAEA                move.l     [A5 - 0x516], D0
  134. 000001AA  42A7                     clr.l      -[A7]
  135. 000001AC  2EB8 02AA                move.l     [A7], [0x000002AA /* ApplZone */]
  136. 000001B0  285F                     movea.l    A4, [A7]+
  137. 000001B2  7000                     moveq.l    D0, 0x00
  138. 000001B4  302C 0016                move.w     D0, [A4 + 0x16]
  139. 000001B8  80BC 0000 0400           or.l       D0, 0x400
  140. 000001BE  3940 0016                move.w     [A4 + 0x16], D0
  141. 000001C2  486D 02AA                pea.l      [A5 + 0x2AA /* export_81 */]
  142. 000001C6  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  143. 000001CA  4267                     clr.w      -[A7]
  144. 000001CC  2F3A 009E                move.l     -[A7], [PC + 0x9E /* 0000026C, value 0x434F4445 'CODE', cstring "CODENV" */]
  145. 000001D0  A99C                     syscall    CountResources
  146. 000001D2  3E1F                     move.w     D7, [A7]+
  147. 000001D4  5347                     subq.w     D7, 1
  148. 000001D6  42A7                     clr.l      -[A7]
  149. 000001D8  7000                     moveq.l    D0, 0x00
  150. 000001DA  3007                     move.w     D0, D7
  151. 000001DC  E588                     lsl        D0, 2
  152. 000001DE  2F00                     move.l     -[A7], D0
  153. 000001E0  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  154. 000001E4  2B5F FAF6                move.l     [A5 - 0x50A], [A7]+
  155. 000001E8  4246                     clr.w      D6
  156. 000001EA  4267                     clr.w      -[A7]
  157. 000001EC  1EB8 0A5E                move.b     [A7], [0x00000A5E /* ResLoad */]
  158. 000001F0  1A1F                     move.b     D5, [A7]+
  159. 000001F2  4267                     clr.w      -[A7]
  160. 000001F4  A99B                     syscall    SetResLoad
  161. label000001F6:
  162. 000001F6  4A47                     tst.w      D7
  163. 000001F8  6F24                     ble        +0x26 /* 0000021E */
  164. 000001FA  42A7                     clr.l      -[A7]
  165. 000001FC  2F3A 006E                move.l     -[A7], [PC + 0x6E /* 0000026C, value 0x434F4445 'CODE', cstring "CODENV" */]
  166. 00000200  3F07                     move.w     -[A7], D7
  167. 00000202  A9A0                     syscall    GetResource
  168. 00000204  265F                     movea.l    A3, [A7]+
  169. 00000206  206D FAF6                movea.l    A0, [A5 - 0x50A]
  170. 0000020A  2050                     movea.l    A0, [A0]
  171. 0000020C  3007                     move.w     D0, D7
  172. 0000020E  E540                     asl        D0.w, 2
  173. 00000210  218B 00FC                move.l     [A0 + D0.w - 0x4], A3
  174. 00000214  200B                     move.l     D0, A3
  175. 00000216  6702                     beq        +0x4 /* 0000021A */
  176. 00000218  5246                     addq.w     D6, 1
  177. label0000021A:
  178. 0000021A  5347                     subq.w     D7, 1
  179. 0000021C  60D8                     bra        -0x26 /* 000001F6 */
  180. label0000021E:
  181. 0000021E  1F05                     move.b     -[A7], D5
  182. 00000220  A99B                     syscall    SetResLoad
  183. 00000222  2F2D FAF6                move.l     -[A7], [A5 - 0x50A]
  184. 00000226  7000                     moveq.l    D0, 0x00
  185. 00000228  3006                     move.w     D0, D6
  186. 0000022A  E588                     lsl        D0, 2
  187. 0000022C  2F00                     move.l     -[A7], D0
  188. 0000022E  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  189. 00000232  2B6D FAF6 FAF2           move.l     [A5 - 0x50E], [A5 - 0x50A]
  190. 00000238  4267                     clr.w      -[A7]
  191. 0000023A  486D FAF2                pea.l      [A5 - 0x50E]
  192. 0000023E  4EAD 01D2                jsr        [A5 + 0x1D2 /* export_54 */]
  193. 00000242  4A5F                     tst.w      [A7]+
  194. 00000244  206D FAF2                movea.l    A0, [A5 - 0x50E]
  195. 00000248  2050                     movea.l    A0, [A0]
  196. 0000024A  7000                     moveq.l    D0, 0x00
  197. 0000024C  2080                     move.l     [A0], D0
  198. 0000024E  7000                     moveq.l    D0, 0x00
  199. 00000250  2B40 FB06                move.l     [A5 - 0x4FA], D0
  200. 00000254  7000                     moveq.l    D0, 0x00
  201. 00000256  2B40 FB02                move.l     [A5 - 0x4FE], D0
  202. 0000025A  7000                     moveq.l    D0, 0x00
  203. 0000025C  2B40 FAFE                move.l     [A5 - 0x502], D0
  204. 00000260  4EAD 28FA                jsr        [A5 + 0x28FA /* export_1307 */]
  205. 00000264  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  206. 00000268  4E5E                     unlink     A6
  207. 0000026A  4E75                     rts
  208. 0000026C  434F                     chk.w      D1, A7
  209. 0000026E  4445                     neg.w      D5
  210. export_149:
  211. fn00000270:
  212. 00000270  4E56 0000                link       A6, 0
  213. 00000274  2B6E 0008 FAEA           move.l     [A5 - 0x516], [A6 + 0x8]
  214. 0000027A  4E5E                     unlink     A6
  215. 0000027C  2E9F                     move.l     [A7], [A7]+
  216. 0000027E  4E75                     rts
  217. fn00000280:
  218. 00000280  4E56 FFF8                link       A6, -0x0008
  219. 00000284  2F07                     move.l     -[A7], D7
  220. 00000286  2E38 0908                move.l     D7, [0x00000908 /* CurStackBase */]
  221. 0000028A  9EAE 0008                sub.l      D7, [A6 + 0x8]
  222. 0000028E  42A7                     clr.l      -[A7]
  223. 00000290  2EB8 0130                move.l     [A7], [0x00000130 /* ApplLimit */]
  224. 00000294  BE9F                     cmp.l      D7, [A7]+
  225. 00000296  6C06                     bge        +0x8 /* 0000029E */
  226. 00000298  2F07                     move.l     -[A7], D7
  227. 0000029A  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  228. label0000029E:
  229. 0000029E  2E1F                     move.l     D7, [A7]+
  230. 000002A0  4E5E                     unlink     A6
  231. 000002A2  2E9F                     move.l     [A7], [A7]+
  232. 000002A4  4E75                     rts
  233. fn000002A6:
  234. 000002A6  42AD FB30                clr.l      [A5 - 0x4D0]
  235. 000002AA  4E75                     rts
  236. 000002AC  91C8                     sub.l      A0, A0
  237. 000002AE  426F 000E                clr.w      [A7 + 0xE]
  238. 000002B2  615C                     bsr        +0x5E /* 00000310 */
  239. 000002B4  206F 0004                movea.l    A0, [A7 + 0x4]
  240. 000002B8  226F 000A                movea.l    A1, [A7 + 0xA]
  241. 000002BC  6002                     bra        +0x4 /* 000002C0 */
  242. label000002BE:
  243. 000002BE  2051                     movea.l    A0, [A1]
  244. label000002C0:
  245. 000002C0  3029 0004                move.w     D0, [A1 + 0x4]
  246. 000002C4  3200                     move.w     D1, D0
  247. 000002C6  0241 0F00                andi.w     D1, 0xF00
  248. 000002CA  6604                     bne        +0x6 /* 000002D0 */
  249. 000002CC  A247                     syscall    SetOSTrapAddress, flags=2
  250. 000002CE  6002                     bra        +0x4 /* 000002D2 */
  251. label000002D0:
  252. 000002D0  A647                     syscall    SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
  253. label000002D2:
  254. 000002D2  205F                     movea.l    A0, [A7]+
  255. 000002D4  DEFC 000A                add.w      A7, 0xA /* '\n' */
  256. 000002D8  4ED0                     jmp        [A0]
  257. fn000002DA:
  258. 000002DA  700C                     moveq.l    D0, 0x0C
  259. 000002DC  612A                     bsr        +0x2C /* 00000308 */
  260. 000002DE  66F2                     bne        -0xC /* 000002D2 */
  261. 000002E0  226F 000A                movea.l    A1, [A7 + 0xA]
  262. label000002E4:
  263. 000002E4  30FC 2F3C                move.w     [A0]+, 0x2F3C /* '/<' */
  264. 000002E8  20E9 0006                move.l     [A0]+, [A1 + 0x6]
  265. 000002EC  30FC 4EF9                move.w     [A0]+, 0x4EF9
  266. 000002F0  20EF 0004                move.l     [A0]+, [A7 + 0x4]
  267. 000002F4  60C8                     bra        -0x36 /* 000002BE */
  268. fn000002F6:
  269. 000002F6  7010                     moveq.l    D0, 0x10
  270. 000002F8  610E                     bsr        +0x10 /* 00000308 */
  271. 000002FA  66D6                     bne        -0x28 /* 000002D2 */
  272. 000002FC  226F 000A                movea.l    A1, [A7 + 0xA]
  273. 00000300  20FC 2F2F 0004           move.l     [A0]+, 0x2F2F0004
  274. 00000306  60DC                     bra        -0x22 /* 000002E4 */
  275. fn00000308:
  276. 00000308  A51E                     syscall    NewPtrSys, flags=5
  277. 0000030A  3F40 0012                move.w     [A7 + 0x12], D0
  278. 0000030E  6634                     bne        +0x36 /* 00000344 */
  279. fn00000310:
  280. 00000310  2F0C                     move.l     -[A7], A4
  281. 00000312  286F 0012                movea.l    A4, [A7 + 0x12]
  282. 00000316  2888                     move.l     [A4], A0
  283. 00000318  302F 0010                move.w     D0, [A7 + 0x10]
  284. 0000031C  3940 0004                move.w     [A4 + 0x4], D0
  285. 00000320  3200                     move.w     D1, D0
  286. 00000322  0241 0F00                andi.w     D1, 0xF00
  287. 00000326  6604                     bne        +0x6 /* 0000032C */
  288. 00000328  A346                     syscall    GetOSTrapAddress, flags=3
  289. 0000032A  6002                     bra        +0x4 /* 0000032E */
  290. label0000032C:
  291. 0000032C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  292. label0000032E:
  293. 0000032E  2948 0006                move.l     [A4 + 0x6], A0
  294. 00000332  296D FB30 000A           move.l     [A4 + 0xA], [A5 - 0x4D0]
  295. 00000338  2B4C FB30                move.l     [A5 - 0x4D0], A4
  296. 0000033C  2054                     movea.l    A0, [A4]
  297. 0000033E  302F 0016                move.w     D0, [A7 + 0x16]
  298. 00000342  285F                     movea.l    A4, [A7]+
  299. label00000344:
  300. 00000344  4E75                     rts
  301. export_150:
  302. 00000346  4E56 FFEA                link       A6, -0x0016
  303. 0000034A  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  304. 0000034E  282E 0008                move.l     D4, [A6 + 0x8]
  305. 00000352  2B44 FF24                move.l     [A5 - 0xDC], D4
  306. 00000356  422D FF29                clr.b      [A5 - 0xD7]
  307. 0000035A  422D FD77                clr.b      [A5 - 0x289]
  308. 0000035E  422D FD53                clr.b      [A5 - 0x2AD]
  309. 00000362  2B44 FD4E                move.l     [A5 - 0x2B2], D4
  310. 00000366  42A7                     clr.l      -[A7]
  311. 00000368  2F04                     move.l     -[A7], D4
  312. 0000036A  4EAD 1B72                jsr        [A5 + 0x1B72 /* export_874 */]
  313. 0000036E  42A7                     clr.l      -[A7]
  314. 00000370  4EAD 044A                jsr        [A5 + 0x44A /* export_133 */]
  315. 00000374  2B5F FEE8                move.l     [A5 - 0x118], [A7]+
  316. 00000378  2B6E 000C FD98           move.l     [A5 - 0x268], [A6 + 0xC]
  317. 0000037E  7000                     moveq.l    D0, 0x00
  318. 00000380  2B40 FEEC                move.l     [A5 - 0x114], D0
  319. 00000384  7000                     moveq.l    D0, 0x00
  320. 00000386  2B40 FDBE                move.l     [A5 - 0x242], D0
  321. 0000038A  422D FD4D                clr.b      [A5 - 0x2B3]
  322. 0000038E  102D FDD9                move.b     D0, [A5 - 0x227]
  323. 00000392  6600 013C                bne        +0x13E /* 000004D0 */
  324. 00000396  42A7                     clr.l      -[A7]
  325. 00000398  3F2D FD90                move.w     -[A7], [A5 - 0x270]
  326. 0000039C  A9C0                     syscall    GetNewMBar
  327. 0000039E  285F                     movea.l    A4, [A7]+
  328. 000003A0  200C                     move.l     D0, A4
  329. 000003A2  6706                     beq        +0x8 /* 000003AA */
  330. 000003A4  2F0C                     move.l     -[A7], A4
  331. 000003A6  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  332. label000003AA:
  333. 000003AA  42A7                     clr.l      -[A7]
  334. 000003AC  3F2D FD96                move.w     -[A7], [A5 - 0x26A]
  335. 000003B0  A9C0                     syscall    GetNewMBar
  336. 000003B2  285F                     movea.l    A4, [A7]+
  337. 000003B4  200C                     move.l     D0, A4
  338. 000003B6  670A                     beq        +0xC /* 000003C2 */
  339. 000003B8  2F0C                     move.l     -[A7], A4
  340. 000003BA  A93C                     syscall    SetMenuBar
  341. 000003BC  2F0C                     move.l     -[A7], A4
  342. 000003BE  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  343. label000003C2:
  344. 000003C2  42A7                     clr.l      -[A7]
  345. 000003C4  3F3C 0001                move.w     -[A7], 0x1
  346. 000003C8  4EAD 06FA                jsr        [A5 + 0x6FA /* export_219 */]
  347. 000003CC  2E1F                     move.l     D7, [A7]+
  348. 000003CE  6708                     beq        +0xA /* 000003D8 */
  349. 000003D0  2F07                     move.l     -[A7], D7
  350. 000003D2  2F3A 0110                move.l     -[A7], [PC + 0x110 /* 000004E4, value 0x44525652 'DRVR', cstring "DRVRNV" */]
  351. 000003D6  A94D                     syscall    AppendResMenu/AddResMenu
  352. label000003D8:
  353. 000003D8  102D FB20                move.b     D0, [A5 - 0x4E0]
  354. 000003DC  6748                     beq        +0x4A /* 00000426 */
  355. 000003DE  42A7                     clr.l      -[A7]
  356. 000003E0  2F3A 00FE                move.l     -[A7], [PC + 0xFE /* 000004E0, value 0x4D424152 'MBAR', cstring "MBARDRVRNV" */]
  357. 000003E4  3F2D FD92                move.w     -[A7], [A5 - 0x26E]
  358. 000003E8  A9A0                     syscall    GetResource
  359. 000003EA  2C1F                     move.l     D6, [A7]+
  360. 000003EC  6738                     beq        +0x3A /* 00000426 */
  361. 000003EE  2046                     movea.l    A0, D6
  362. 000003F0  2050                     movea.l    A0, [A0]
  363. 000003F2  3D50 FFEA                move.w     [A6 - 0x16], [A0]
  364. 000003F6  7A01                     moveq.l    D5, 0x01
  365. 000003F8  6020                     bra        +0x22 /* 0000041A */
  366. label000003FA:
  367. 000003FA  42A7                     clr.l      -[A7]
  368. 000003FC  2046                     movea.l    A0, D6
  369. 000003FE  2050                     movea.l    A0, [A0]
  370. 00000400  3005                     move.w     D0, D5
  371. 00000402  D040                     add.w      D0, D0
  372. 00000404  3F30 0000                move.w     -[A7], [A0 + D0.w]
  373. 00000408  A9BF                     syscall    GetRMenu
  374. 0000040A  2E1F                     move.l     D7, [A7]+
  375. 0000040C  6708                     beq        +0xA /* 00000416 */
  376. 0000040E  2F07                     move.l     -[A7], D7
  377. 00000410  3F3C FFFF                move.w     -[A7], 0xFFFF
  378. 00000414  A935                     syscall    InsertMenu
  379. label00000416:
  380. 00000416  5245                     addq.w     D5, 1
  381. 00000418  6906                     bvs        +0x8 /* 00000420 */
  382. label0000041A:
  383. 0000041A  BA6E FFEA                cmp.w      D5, [A6 - 0x16]
  384. 0000041E  6FDA                     ble        -0x24 /* 000003FA */
  385. label00000420:
  386. 00000420  2F06                     move.l     -[A7], D6
  387. 00000422  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  388. label00000426:
  389. 00000426  102D FB1F                move.b     D0, [A5 - 0x4E1]
  390. 0000042A  6730                     beq        +0x32 /* 0000045C */
  391. 0000042C  42A7                     clr.l      -[A7]
  392. 0000042E  2F3A 00AC                move.l     -[A7], [PC + 0xAC /* 000004DC, value 0x6D637462 'mctb', cstring "mctbMBARDRVRNV" */]
  393. 00000432  3F2D FD96                move.w     -[A7], [A5 - 0x26A]
  394. 00000436  A9A0                     syscall    GetResource
  395. 00000438  265F                     movea.l    A3, [A7]+
  396. 0000043A  200B                     move.l     D0, A3
  397. 0000043C  671E                     beq        +0x20 /* 0000045C */
  398. 0000043E  2F0B                     move.l     -[A7], A3
  399. 00000440  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  400. 00000444  2F0B                     move.l     -[A7], A3
  401. 00000446  4EAD 00A2                jsr        [A5 + 0xA2 /* export_16 */]
  402. 0000044A  2053                     movea.l    A0, [A3]
  403. 0000044C  3F10                     move.w     -[A7], [A0]
  404. 0000044E  2053                     movea.l    A0, [A3]
  405. 00000450  4868 0002                pea.l      [A0 + 0x2]
  406. 00000454  AA65                     syscall    SetMCEntries
  407. 00000456  2F0B                     move.l     -[A7], A3
  408. 00000458  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  409. label0000045C:
  410. 0000045C  486D FF08                pea.l      [A5 - 0xF8]
  411. 00000460  486D 292C                pea.l      [A5 + 0x292C]
  412. 00000464  3F3C 0048                move.w     -[A7], 0x48 /* 'H' */
  413. 00000468  4EAD 033A                jsr        [A5 + 0x33A /* export_99 */]
  414. 0000046C  2F2D FF08                move.l     -[A7], [A5 - 0xF8]
  415. 00000470  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  416. 00000474  2F2D FF08                move.l     -[A7], [A5 - 0xF8]
  417. 00000478  4EAD 2262                jsr        [A5 + 0x2262 /* export_1096 */]
  418. 0000047C  42A7                     clr.l      -[A7]
  419. 0000047E  2F3C 0000 00C8           move.l     -[A7], 0xC8
  420. 00000484  1F3C 0001                move.b     -[A7], 0x1
  421. 00000488  1F3C 0001                move.b     -[A7], 0x1
  422. 0000048C  2F2D FF08                move.l     -[A7], [A5 - 0xF8]
  423. 00000490  4EAD 104A                jsr        [A5 + 0x104A /* export_517 */]
  424. 00000494  2B5F FF04                move.l     [A5 - 0xFC], [A7]+
  425. 00000498  206D FF08                movea.l    A0, [A5 - 0xF8]
  426. 0000049C  2050                     movea.l    A0, [A0]
  427. 0000049E  2B68 001C FF0C           move.l     [A5 - 0xF4], [A0 + 0x1C]
  428. 000004A4  206D FF04                movea.l    A0, [A5 - 0xFC]
  429. 000004A8  2050                     movea.l    A0, [A0]
  430. 000004AA  4228 0072                clr.b      [A0 + 0x72]
  431. 000004AE  206D FF04                movea.l    A0, [A5 - 0xFC]
  432. 000004B2  2050                     movea.l    A0, [A0]
  433. 000004B4  4228 0082                clr.b      [A0 + 0x82]
  434. 000004B8  206D FF04                movea.l    A0, [A5 - 0xFC]
  435. 000004BC  2050                     movea.l    A0, [A0]
  436. 000004BE  216D FF24 0002           move.l     [A0 + 0x2], [A5 - 0xDC]
  437. 000004C4  206D FF04                movea.l    A0, [A5 - 0xFC]
  438. 000004C8  2050                     movea.l    A0, [A0]
  439. 000004CA  7000                     moveq.l    D0, 0x00
  440. 000004CC  2140 006A                move.l     [A0 + 0x6A], D0
  441. label000004D0:
  442. 000004D0  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  443. 000004D4  4E5E                     unlink     A6
  444. 000004D6  205F                     movea.l    A0, [A7]+
  445. 000004D8  504F                     addq.w     A7, 8
  446. 000004DA  4ED0                     jmp        [A0]
  447. 000004DC  6D63                     blt        +0x65 /* 00000541 */
  448. 000004DE  7462                     moveq.l    D2, 0x62
  449. 000004E0  4D42                     chk.w      D6, D2
  450. 000004E2  4152                     chk.w      D0, [A2]
  451. 000004E4  4452                     neg.w      [A2]
  452. 000004E6  5652                     addq.w     [A2], 3
  453. export_151:
  454. 000004E8  4E56 0000                link       A6, 0
  455. 000004EC  4EAD 06AA                jsr        [A5 + 0x6AA /* export_209 */]
  456. 000004F0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  457. 000004F4  4EAD 1D42                jsr        [A5 + 0x1D42 /* export_932 */]
  458. 000004F8  4E5E                     unlink     A6
  459. 000004FA  2E9F                     move.l     [A7], [A7]+
  460. 000004FC  4E75                     rts
  461. fn000004FE:
  462. 000004FE  4E56 FFF8                link       A6, -0x0008
  463. 00000502  2F0C                     move.l     -[A7], A4
  464. 00000504  1F3C 0001                move.b     -[A7], 0x1
  465. 00000508  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  466. 0000050C  42A7                     clr.l      -[A7]
  467. 0000050E  3F3C 0004                move.w     -[A7], 0x4
  468. 00000512  A9B9                     syscall    GetCursor
  469. 00000514  205F                     movea.l    A0, [A7]+
  470. 00000516  2050                     movea.l    A0, [A0]
  471. 00000518  43ED FC46                lea.l      A1, [A5 - 0x3BA]
  472. 0000051C  7010                     moveq.l    D0, 0x10
  473. label0000051E:
  474. 0000051E  22D8                     move.l     [A1]+, [A0]+
  475. 00000520  51C8 FFFC                dbf        D0, -0x6 /* 0000051E */
  476. 00000524  1B7C 0001 FC42           move.b     [A5 - 0x3BE], 0x1
  477. 0000052A  1B7C 0001 FC43           move.b     [A5 - 0x3BD], 0x1
  478. 00000530  422D FC44                clr.b      [A5 - 0x3BC]
  479. 00000534  3B7C 0078 FC40           move.w     [A5 - 0x3C0], 0x78 /* 'x' */
  480. 0000053A  422D FBF6                clr.b      [A5 - 0x40A]
  481. 0000053E  41ED FBF8                lea.l      A0, [A5 - 0x408]
  482. 00000542  43ED F9B2                lea.l      A1, [A5 - 0x64E]
  483. 00000546  7010                     moveq.l    D0, 0x10
  484. label00000548:
  485. 00000548  20D9                     move.l     [A0]+, [A1]+
  486. 0000054A  51C8 FFFC                dbf        D0, -0x6 /* 00000548 */
  487. 0000054E  49ED FC8A                lea.l      A4, [A5 - 0x376]
  488. 00000552  397C 0001 0004           move.w     [A4 + 0x4], 0x1
  489. 00000558  41ED 02E2                lea.l      A0, [A5 + 0x2E2 /* export_88 */]
  490. 0000055C  2948 0006                move.l     [A4 + 0x6], A0
  491. 00000560  397C 0078 000A           move.w     [A4 + 0xA], 0x78 /* 'x' */
  492. 00000566  426C 000C                clr.w      [A4 + 0xC]
  493. 0000056A  4267                     clr.w      -[A7]
  494. 0000056C  486D FB80                pea.l      [A5 - 0x480]
  495. 00000570  3F3C A851                move.w     -[A7], 0xA851
  496. 00000574  486D 0322                pea.l      [A5 + 0x322 /* export_96 */]
  497. 00000578  4EBA FD7C                jsr        [PC - 0x284 /* 000002F6 */]
  498. 0000057C  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  499. 00000580  4267                     clr.w      -[A7]
  500. 00000582  486D FBBA                pea.l      [A5 - 0x446]
  501. 00000586  3F3C A850                move.w     -[A7], 0xA850
  502. 0000058A  486D 0312                pea.l      [A5 + 0x312 /* export_94 */]
  503. 0000058E  4EBA FD4A                jsr        [PC - 0x2B6 /* 000002DA */]
  504. 00000592  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  505. 00000596  4267                     clr.w      -[A7]
  506. 00000598  486D FC8A                pea.l      [A5 - 0x376]
  507. 0000059C  4EAD 00C2                jsr        [A5 + 0xC2 /* export_20 */]
  508. 000005A0  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  509. 000005A4  102D FB1F                move.b     D0, [A5 - 0x4E1]
  510. 000005A8  6716                     beq        +0x18 /* 000005C0 */
  511. 000005AA  4267                     clr.w      -[A7]
  512. 000005AC  486D FB72                pea.l      [A5 - 0x48E]
  513. 000005B0  3F3C AA1C                move.w     -[A7], 0xAA1C
  514. 000005B4  486D 031A                pea.l      [A5 + 0x31A /* export_95 */]
  515. 000005B8  4EBA FD3C                jsr        [PC - 0x2C4 /* 000002F6 */]
  516. 000005BC  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  517. label000005C0:
  518. 000005C0  4267                     clr.w      -[A7]
  519. 000005C2  486D FBCA                pea.l      [A5 - 0x436]
  520. 000005C6  3F3C A970                move.w     -[A7], 0xA970
  521. 000005CA  486D 0722                pea.l      [A5 + 0x722 /* export_224 */]
  522. 000005CE  4EBA FD0A                jsr        [PC - 0x2F6 /* 000002DA */]
  523. 000005D2  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  524. 000005D6  4267                     clr.w      -[A7]
  525. 000005D8  486D FBE8                pea.l      [A5 - 0x418]
  526. 000005DC  3F3C A971                move.w     -[A7], 0xA971
  527. 000005E0  486D 0722                pea.l      [A5 + 0x722 /* export_224 */]
  528. 000005E4  4EBA FCF4                jsr        [PC - 0x30C /* 000002DA */]
  529. 000005E8  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  530. 000005EC  3F3C 0078                move.w     -[A7], 0x78 /* 'x' */
  531. 000005F0  1F3C 0001                move.b     -[A7], 0x1
  532. 000005F4  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  533. 000005F8  285F                     movea.l    A4, [A7]+
  534. 000005FA  4E5E                     unlink     A6
  535. 000005FC  4E75                     rts
  536. export_152:
  537. 000005FE  4E56 0000                link       A6, 0
  538. 00000602  4267                     clr.w      -[A7]
  539. 00000604  486D 04E2                pea.l      [A5 + 0x4E2 /* export_152 */]
  540. 00000608  4EAD 0292                jsr        [A5 + 0x292 /* export_78 */]
  541. 0000060C  1F3C 0001                move.b     -[A7], 0x1
  542. 00000610  4EAD 029A                jsr        [A5 + 0x29A /* export_79 */]
  543. 00000614  4EAD 02A2                jsr        [A5 + 0x2A2 /* export_80 */]
  544. 00000618  4A6E 000C                tst.w      [A6 + 0xC]
  545. 0000061C  671C                     beq        +0x1E /* 0000063A */
  546. 0000061E  4AAE 0008                tst.l      [A6 + 0x8]
  547. 00000622  6608                     bne        +0xA /* 0000062C */
  548. 00000624  2D7C 00C8 0001 0008      move.l     [A6 + 0x8], 0xC80001
  549. label0000062C:
  550. 0000062C  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  551. 00000630  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  552. 00000634  4EAD 1AE2                jsr        [A5 + 0x1AE2 /* export_856 */]
  553. 00000638  A9F4                     syscall    ExitToShell
  554. label0000063A:
  555. 0000063A  4E5E                     unlink     A6
  556. 0000063C  205F                     movea.l    A0, [A7]+
  557. 0000063E  5C4F                     addq.w     A7, 6
  558. 00000640  4ED0                     jmp        [A0]
  559. export_153:
  560. 00000642  4E56 FFF6                link       A6, -0x000A
  561. 00000646  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  562. 0000064A  2A2E 000C                move.l     D5, [A6 + 0xC]
  563. 0000064E  422D FDC3                clr.b      [A5 - 0x23D]
  564. 00000652  486D FA1E                pea.l      [A5 - 0x5E2]
  565. 00000656  A86E                     syscall    InitGraf
  566. 00000658  A8FE                     syscall    InitFonts
  567. 0000065A  A912                     syscall    InitWindows
  568. 0000065C  2F3C 0000 FF7F           move.l     -[A7], 0xFF7F
  569. 00000662  201F                     move.l     D0, [A7]+
  570. 00000664  A032                     syscall    FlushEvents
  571. 00000666  A930                     syscall    InitMenus
  572. 00000668  A9CC                     syscall    TEInit
  573. 0000066A  42A7                     clr.l      -[A7]
  574. 0000066C  A97B                     syscall    InitDialogs
  575. 0000066E  A850                     syscall    InitCursor
  576. 00000670  4EBA FC34                jsr        [PC - 0x3CC /* 000002A6 */]
  577. 00000674  102D FB1D                move.b     D0, [A5 - 0x4E3]
  578. 00000678  660A                     bne        +0xC /* 00000684 */
  579. 0000067A  3F3C 0074                move.w     -[A7], 0x74 /* 't' */
  580. 0000067E  4EAD 0432                jsr        [A5 + 0x432 /* export_130 */]
  581. 00000682  A9F4                     syscall    ExitToShell
  582. label00000684:
  583. 00000684  486D 04E2                pea.l      [A5 + 0x4E2 /* export_152 */]
  584. 00000688  4EBA FBE6                jsr        [PC - 0x41A /* 00000270 */]
  585. 0000068C  42A7                     clr.l      -[A7]
  586. 0000068E  42A7                     clr.l      -[A7]
  587. 00000690  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  588. 00000694  2B5F FB06                move.l     [A5 - 0x4FA], [A7]+
  589. 00000698  2F3A 0100                move.l     -[A7], [PC + 0x100 /* 0000079A, value 0x4C444546 'LDEF' */]
  590. 0000069C  2F2D FB06                move.l     -[A7], [A5 - 0x4FA]
  591. 000006A0  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  592. 000006A4  2F3A 00F0                move.l     -[A7], [PC + 0xF0 /* 00000796, value 0x43444546 'CDEF' */]
  593. 000006A8  2F2D FB06                move.l     -[A7], [A5 - 0x4FA]
  594. 000006AC  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  595. 000006B0  2F3A 00E0                move.l     -[A7], [PC + 0xE0 /* 00000792, value 0x4D444546 'MDEF' */]
  596. 000006B4  2F2D FB06                move.l     -[A7], [A5 - 0x4FA]
  597. 000006B8  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  598. 000006BC  2F3A 00D0                move.l     -[A7], [PC + 0xD0 /* 0000078E, value 0x57444546 'WDEF' */]
  599. 000006C0  2F2D FB06                move.l     -[A7], [A5 - 0x4FA]
  600. 000006C4  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  601. 000006C8  2F3A 00C0                move.l     -[A7], [PC + 0xC0 /* 0000078A, value 0x5041434B 'PACK' */]
  602. 000006CC  2F2D FB06                move.l     -[A7], [A5 - 0x4FA]
  603. 000006D0  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  604. 000006D4  2045                     movea.l    A0, D5
  605. 000006D6  7000                     moveq.l    D0, 0x00
  606. 000006D8  2080                     move.l     [A0], D0
  607. 000006DA  206E 0008                movea.l    A0, [A6 + 0x8]
  608. 000006DE  7000                     moveq.l    D0, 0x00
  609. 000006E0  2080                     move.l     [A0], D0
  610. 000006E2  7C00                     moveq.l    D6, 0x00
  611. 000006E4  4267                     clr.w      -[A7]
  612. 000006E6  2F3A 009E                move.l     -[A7], [PC + 0x9E /* 00000786, value 0x73656721 'seg!' */]
  613. 000006EA  A99C                     syscall    CountResources
  614. 000006EC  3E1F                     move.w     D7, [A7]+
  615. label000006EE:
  616. 000006EE  4A47                     tst.w      D7
  617. 000006F0  6F26                     ble        +0x28 /* 00000718 */
  618. 000006F2  42A7                     clr.l      -[A7]
  619. 000006F4  2F3A 0090                move.l     -[A7], [PC + 0x90 /* 00000786, value 0x73656721 'seg!' */]
  620. 000006F8  3F07                     move.w     -[A7], D7
  621. 000006FA  A99D                     syscall    GetIndResource
  622. 000006FC  265F                     movea.l    A3, [A7]+
  623. 000006FE  2045                     movea.l    A0, D5
  624. 00000700  2F08                     move.l     -[A7], A0
  625. 00000702  42A7                     clr.l      -[A7]
  626. 00000704  2F0B                     move.l     -[A7], A3
  627. 00000706  4EAD 03A2                jsr        [A5 + 0x3A2 /* export_112 */]
  628. 0000070A  201F                     move.l     D0, [A7]+
  629. 0000070C  205F                     movea.l    A0, [A7]+
  630. 0000070E  D190                     add.l      [A0], D0
  631. 00000710  2F0B                     move.l     -[A7], A3
  632. 00000712  A9A3                     syscall    ReleaseResource
  633. 00000714  5347                     subq.w     D7, 1
  634. 00000716  60D6                     bra        -0x28 /* 000006EE */
  635. label00000718:
  636. 00000718  4267                     clr.w      -[A7]
  637. 0000071A  2F3A 0066                move.l     -[A7], [PC + 0x66 /* 00000782, value 0x6D656D21 'mem!' */]
  638. 0000071E  A99C                     syscall    CountResources
  639. 00000720  3E1F                     move.w     D7, [A7]+
  640. label00000722:
  641. 00000722  4A47                     tst.w      D7
  642. 00000724  6F2A                     ble        +0x2C /* 00000750 */
  643. 00000726  42A7                     clr.l      -[A7]
  644. 00000728  2F3A 0058                move.l     -[A7], [PC + 0x58 /* 00000782, value 0x6D656D21 'mem!' */]
  645. 0000072C  3F07                     move.w     -[A7], D7
  646. 0000072E  A99D                     syscall    GetIndResource
  647. 00000730  265F                     movea.l    A3, [A7]+
  648. 00000732  2853                     movea.l    A4, [A3]
  649. 00000734  2045                     movea.l    A0, D5
  650. 00000736  2014                     move.l     D0, [A4]
  651. 00000738  D190                     add.l      [A0], D0
  652. 0000073A  206E 0008                movea.l    A0, [A6 + 0x8]
  653. 0000073E  202C 0004                move.l     D0, [A4 + 0x4]
  654. 00000742  D190                     add.l      [A0], D0
  655. 00000744  DCAC 0008                add.l      D6, [A4 + 0x8]
  656. 00000748  2F0B                     move.l     -[A7], A3
  657. 0000074A  A9A3                     syscall    ReleaseResource
  658. 0000074C  5347                     subq.w     D7, 1
  659. 0000074E  60D2                     bra        -0x2C /* 00000722 */
  660. label00000750:
  661. 00000750  2F06                     move.l     -[A7], D6
  662. 00000752  4EBA FB2C                jsr        [PC - 0x4D4 /* 00000280 */]
  663. 00000756  4EAD 004A                jsr        [A5 + 0x4A /* export_5 */]
  664. 0000075A  7000                     moveq.l    D0, 0x00
  665. 0000075C  2B40 FF24                move.l     [A5 - 0xDC], D0
  666. 00000760  4267                     clr.w      -[A7]
  667. 00000762  486D FBDA                pea.l      [A5 - 0x426]
  668. 00000766  3F3C A9F4                move.w     -[A7], 0xA9F4
  669. 0000076A  486D 0532                pea.l      [A5 + 0x532 /* export_162 */]
  670. 0000076E  4EBA FB6A                jsr        [PC - 0x496 /* 000002DA */]
  671. 00000772  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  672. 00000776  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  673. 0000077A  4E5E                     unlink     A6
  674. 0000077C  205F                     movea.l    A0, [A7]+
  675. 0000077E  504F                     addq.w     A7, 8
  676. 00000780  4ED0                     jmp        [A0]
  677. 00000782  6D65                     blt        +0x67 /* 000007E9 */
  678. 00000784  6D21                     blt        +0x23 /* 000007A7 */
  679. 00000786  7365                     moveq.l    D1, 0x65
  680. 00000788  6721                     beq        +0x23 /* 000007AB */
  681. 0000078A  5041                     addq.w     D1, 8
  682. 0000078C  434B                     chk.w      D1, A3
  683. 0000078E  5744                     subq.w     D4, 3
  684. 00000790  4546                     chk.w      D2, D6
  685. 00000792  4D44                     chk.w      D6, D4
  686. 00000794  4546                     chk.w      D2, D6
  687. 00000796  4344                     chk.w      D1, D4
  688. 00000798  4546                     chk.w      D2, D6
  689. 0000079A  4C44 4546                movem.l    D1,D2,D6,A0,A2,A6, D4
  690. export_154:
  691. 0000079E  4E56 FFF2                link       A6, -0x000E
  692. 000007A2  48E7 0018                movem.l    -[A7], A3,A4
  693. 000007A6  4EBA FD56                jsr        [PC - 0x2AA /* 000004FE */]
  694. 000007AA  3B7C FFFF FD9C           move.w     [A5 - 0x264], 0xFFFF
  695. 000007B0  42A7                     clr.l      -[A7]
  696. 000007B2  487A 0264                pea.l      [PC + 0x264 /* 00000A18, value 0x31436F70 '1Cop' */]
  697. 000007B6  A906                     syscall    NewString
  698. 000007B8  2B5F FD3C                move.l     [A5 - 0x2C4], [A7]+
  699. 000007BC  42A7                     clr.l      -[A7]
  700. 000007BE  2F3A 0254                move.l     -[A7], [PC + 0x254 /* 00000A14, value 0x6D6E7462 'mntb' */]
  701. 000007C2  4267                     clr.w      -[A7]
  702. 000007C4  A9A0                     syscall    GetResource
  703. 000007C6  2B5F FEF6                move.l     [A5 - 0x10A], [A7]+
  704. 000007CA  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  705. 000007CE  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  706. 000007D2  42A7                     clr.l      -[A7]
  707. 000007D4  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  708. 000007D8  4EAD 007A                jsr        [A5 + 0x7A /* export_11 */]
  709. 000007DC  7006                     moveq.l    D0, 0x06
  710. 000007DE  2F00                     move.l     -[A7], D0
  711. 000007E0  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  712. 000007E4  201F                     move.l     D0, [A7]+
  713. 000007E6  3B40 FD70                move.w     [A5 - 0x290], D0
  714. 000007EA  42A7                     clr.l      -[A7]
  715. 000007EC  4EAD 00FA                jsr        [A5 + 0xFA /* export_27 */]
  716. 000007F0  1B5F FBA3                move.b     [A5 - 0x45D], [A7]+
  717. 000007F4  42A7                     clr.l      -[A7]
  718. 000007F6  A8D8                     syscall    NewRgn
  719. 000007F8  2B5F FB60                move.l     [A5 - 0x4A0], [A7]+
  720. 000007FC  2F2D FB60                move.l     -[A7], [A5 - 0x4A0]
  721. 00000800  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  722. 00000804  42A7                     clr.l      -[A7]
  723. 00000806  A8D8                     syscall    NewRgn
  724. 00000808  2B5F FB44                move.l     [A5 - 0x4BC], [A7]+
  725. 0000080C  2F2D FB44                move.l     -[A7], [A5 - 0x4BC]
  726. 00000810  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  727. 00000814  426D FD42                clr.w      [A5 - 0x2BE]
  728. 00000818  42A7                     clr.l      -[A7]
  729. 0000081A  A975                     syscall    TickCount
  730. 0000081C  2B5F FDA2                move.l     [A5 - 0x25E], [A7]+
  731. 00000820  426D FBB6                clr.w      [A5 - 0x44A]
  732. 00000824  2B6D FDA2 FDBA           move.l     [A5 - 0x246], [A5 - 0x25E]
  733. 0000082A  2B6D FDA2 FB34           move.l     [A5 - 0x4CC], [A5 - 0x25E]
  734. 00000830  2B7C 0000 1C20 FD9E      move.l     [A5 - 0x262], 0x1C20
  735. 00000838  70FF                     moveq.l    D0, 0xFFFFFFFF
  736. 0000083A  2B40 FD8A                move.l     [A5 - 0x276], D0
  737. 0000083E  2B7C 0004 0004 FD6C      move.l     [A5 - 0x294], 0x40004
  738. 00000846  7000                     moveq.l    D0, 0x00
  739. 00000848  2B40 FDD0                move.l     [A5 - 0x230], D0
  740. 0000084C  49ED FF12                lea.l      A4, [A5 - 0xEE]
  741. 00000850  7000                     moveq.l    D0, 0x00
  742. 00000852  2880                     move.l     [A4], D0
  743. 00000854  297C 0002 0002 0004      move.l     [A4 + 0x4], 0x20002
  744. 0000085C  397C 0008 0008           move.w     [A4 + 0x8], 0x8
  745. 00000862  486C 000A                pea.l      [A4 + 0xA]
  746. 00000866  487A 019A                pea.l      [PC + 0x19A /* 00000A02, value 0x10434336, pstring "CC663399CC663399" */]
  747. 0000086A  A866                     syscall    StuffHex
  748. 0000086C  7000                     moveq.l    D0, 0x00
  749. 0000086E  2B40 FD44                move.l     [A5 - 0x2BC], D0
  750. 00000872  7000                     moveq.l    D0, 0x00
  751. 00000874  2B40 FD48                move.l     [A5 - 0x2B8], D0
  752. 00000878  486D FDC4                pea.l      [A5 - 0x23C]
  753. 0000087C  303C 7FFE                move.w     D0, 0x7FFE
  754. 00000880  4440                     neg.w      D0
  755. 00000882  3F00                     move.w     -[A7], D0
  756. 00000884  303C 7FFE                move.w     D0, 0x7FFE
  757. 00000888  4440                     neg.w      D0
  758. 0000088A  3F00                     move.w     -[A7], D0
  759. 0000088C  2F3C 7FFE 7FFE           move.l     -[A7], 0x7FFE7FFE
  760. 00000892  A8A7                     syscall    SetRect
  761. 00000894  267C 0000 0BAA           movea.l    A3, 0xBAA
  762. 0000089A  3B53 FD94                move.w     [A5 - 0x26C], [A3]
  763. 0000089E  49ED F9AA                lea.l      A4, [A5 - 0x656]
  764. 000008A2  486D FD64                pea.l      [A5 - 0x29C]
  765. 000008A6  3F3C 0004                move.w     -[A7], 0x4
  766. 000008AA  302D FD94                move.w     D0, [A5 - 0x26C]
  767. 000008AE  5840                     addq.w     D0, 4
  768. 000008B0  3F00                     move.w     -[A7], D0
  769. 000008B2  302C 0006                move.w     D0, [A4 + 0x6]
  770. 000008B6  5940                     subq.w     D0, 4
  771. 000008B8  3F00                     move.w     -[A7], D0
  772. 000008BA  302C 0004                move.w     D0, [A4 + 0x4]
  773. 000008BE  5940                     subq.w     D0, 4
  774. 000008C0  3F00                     move.w     -[A7], D0
  775. 000008C2  A8A7                     syscall    SetRect
  776. 000008C4  486D FD5C                pea.l      [A5 - 0x2A4]
  777. 000008C8  2F3C 0050 0050           move.l     -[A7], 0x500050 /* 'P\0P' */
  778. 000008CE  3F2C 0006                move.w     -[A7], [A4 + 0x6]
  779. 000008D2  302C 0004                move.w     D0, [A4 + 0x4]
  780. 000008D6  906D FD94                sub.w      D0, [A5 - 0x26C]
  781. 000008DA  5140                     subq.w     D0, 8
  782. 000008DC  3F00                     move.w     -[A7], D0
  783. 000008DE  A8A7                     syscall    SetRect
  784. 000008E0  486D FD54                pea.l      [A5 - 0x2AC]
  785. 000008E4  3F3C 0010                move.w     -[A7], 0x10
  786. 000008E8  302D FD94                move.w     D0, [A5 - 0x26C]
  787. 000008EC  D07C 0010                add.w      D0, 0x10
  788. 000008F0  3F00                     move.w     -[A7], D0
  789. 000008F2  302C 0006                move.w     D0, [A4 + 0x6]
  790. 000008F6  907C 0010                sub.w      D0, 0x10
  791. 000008FA  3F00                     move.w     -[A7], D0
  792. 000008FC  302C 0004                move.w     D0, [A4 + 0x4]
  793. 00000900  907C 0010                sub.w      D0, 0x10
  794. 00000904  3F00                     move.w     -[A7], D0
  795. 00000906  A8A7                     syscall    SetRect
  796. 00000908  1B7C 0001 FD82           move.b     [A5 - 0x27E], 0x1
  797. 0000090E  422D FD83                clr.b      [A5 - 0x27D]
  798. 00000912  486D FD72                pea.l      [A5 - 0x28E]
  799. 00000916  2F3C 0048 0048           move.l     -[A7], 0x480048 /* 'H\0H' */
  800. 0000091C  A880                     syscall    SetPt
  801. 0000091E  422D FD79                clr.b      [A5 - 0x287]
  802. 00000922  7000                     moveq.l    D0, 0x00
  803. 00000924  2B40 FEF0                move.l     [A5 - 0x110], D0
  804. 00000928  422D FEE7                clr.b      [A5 - 0x119]
  805. 0000092C  422D FDD9                clr.b      [A5 - 0x227]
  806. 00000930  422D FEF5                clr.b      [A5 - 0x10B]
  807. 00000934  486E FFFC                pea.l      [A6 - 0x4]
  808. 00000938  486D FBD8                pea.l      [A5 - 0x428]
  809. 0000093C  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  810. 00000940  7001                     moveq.l    D0, 0x01
  811. 00000942  B06E FFFC                cmp.w      D0, [A6 - 0x4]
  812. 00000946  57C0                     seq        D0
  813. 00000948  4400                     neg.b      D0
  814. 0000094A  1B40 FDD9                move.b     [A5 - 0x227], D0
  815. 0000094E  7000                     moveq.l    D0, 0x00
  816. 00000950  2B40 FDCC                move.l     [A5 - 0x234], D0
  817. 00000954  486D FD86                pea.l      [A5 - 0x27A]
  818. 00000958  486D 291C                pea.l      [A5 + 0x291C]
  819. 0000095C  3F3C 0056                move.w     -[A7], 0x56 /* 'V' */
  820. 00000960  4EAD 033A                jsr        [A5 + 0x33A /* export_99 */]
  821. 00000964  2F2D FD86                move.l     -[A7], [A5 - 0x27A]
  822. 00000968  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  823. 0000096C  42A7                     clr.l      -[A7]
  824. 0000096E  2F2D FD86                move.l     -[A7], [A5 - 0x27A]
  825. 00000972  4EAD 217A                jsr        [A5 + 0x217A /* export_1067 */]
  826. 00000976  2B6D FD86 FD7A           move.l     [A5 - 0x286], [A5 - 0x27A]
  827. 0000097C  42A7                     clr.l      -[A7]
  828. 0000097E  4EAD 044A                jsr        [A5 + 0x44A /* export_133 */]
  829. 00000982  2B5F FDD4                move.l     [A5 - 0x22C], [A7]+
  830. 00000986  1B7C 0001 FF11           move.b     [A5 - 0xEF], 0x1
  831. 0000098C  7000                     moveq.l    D0, 0x00
  832. 0000098E  2B40 FF04                move.l     [A5 - 0xFC], D0
  833. 00000992  7000                     moveq.l    D0, 0x00
  834. 00000994  2B40 FF0C                move.l     [A5 - 0xF4], D0
  835. 00000998  422D FF03                clr.b      [A5 - 0xFD]
  836. 0000099C  422D FBC9                clr.b      [A5 - 0x437]
  837. 000009A0  7000                     moveq.l    D0, 0x00
  838. 000009A2  2B40 FEFE                move.l     [A5 - 0x102], D0
  839. 000009A6  7000                     moveq.l    D0, 0x00
  840. 000009A8  2B40 FEFA                move.l     [A5 - 0x106], D0
  841. 000009AC  3B7C 0001 FD84           move.w     [A5 - 0x27C], 0x1
  842. 000009B2  1B7C 0001 FB3B           move.b     [A5 - 0x4C5], 0x1
  843. 000009B8  426D FB38                clr.w      [A5 - 0x4C8]
  844. 000009BC  3B7C 0080 FD96           move.w     [A5 - 0x26A], 0x80
  845. 000009C2  3B7C 0081 FD90           move.w     [A5 - 0x270], 0x81
  846. 000009C8  3B7C 0082 FD92           move.w     [A5 - 0x26E], 0x82
  847. 000009CE  42A7                     clr.l      -[A7]
  848. 000009D0  7006                     moveq.l    D0, 0x06
  849. 000009D2  2F00                     move.l     -[A7], D0
  850. 000009D4  4EAD 03DA                jsr        [A5 + 0x3DA /* export_119 */]
  851. 000009D8  2B5F FB5C                move.l     [A5 - 0x4A4], [A7]+
  852. 000009DC  2F2D FB5C                move.l     -[A7], [A5 - 0x4A4]
  853. 000009E0  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  854. 000009E4  206D FB5C                movea.l    A0, [A5 - 0x4A4]
  855. 000009E8  2850                     movea.l    A4, [A0]
  856. 000009EA  38BC 4EF9                move.w     [A4], 0x4EF9
  857. 000009EE  41ED 070A                lea.l      A0, [A5 + 0x70A /* export_221 */]
  858. 000009F2  2948 0002                move.l     [A4 + 0x2], A0
  859. 000009F6  422D FDE6                clr.b      [A5 - 0x21A]
  860. 000009FA  4CDF 1800                movem.l    A3,A4, [A7]+
  861. 000009FE  4E5E                     unlink     A6
  862. 00000A00  4E75                     rts
  863. 00000A02  1043                     movea.b    A0, D3
  864. 00000A04  4336 3633                .invalid   1, [A6 + D3.w * 8 + 0x33] // invalid opcode 4 with b == 4
  865. 00000A08  3339 3943 4336           move.w     -[A1], [0x39434336]
  866. 00000A0E  3633 3339 3900 6D6E      move.w     D3, [[A3 + 0x39006D6E + D3 * 2]]
  867. 00000A16  7462                     moveq.l    D2, 0x62
  868. 00000A18  3143 6F70                move.w     [A0 + 0x6F70], D3
  869. 00000A1C  7972                     moveq.l    D4, 0x72
  870. 00000A1E  6967                     bvs        +0x69 /* 00000A87 */
  871. 00000A20  6874                     bvc        +0x76 /* 00000A96 */
  872. 00000A22  20A9 2031                move.l     [A0], [A1 + 0x2031]
  873. 00000A26  3938 342C                move.w     -[A4], [0x0000342C]
  874. 00000A2A  2031 3938 352C 2031      move.l     D0, [A1 + 0x352C2031 + D3]
  875. 00000A32  3938 362C                move.w     -[A4], [0x0000362C]
  876. 00000A36  2041                     movea.l    A0, D1
  877. 00000A38  7070                     moveq.l    D0, 0x70
  878. 00000A3A  6C65                     bge        +0x67 /* 00000AA1 */
  879. 00000A3C  2043                     movea.l    A0, D3
  880. 00000A3E  6F6D                     ble        +0x6F /* 00000AAD */
  881. 00000A40  7075                     moveq.l    D0, 0x75
  882. 00000A42  7465                     moveq.l    D2, 0x65
  883. 00000A44  7220                     moveq.l    D1, 0x20
  884. 00000A46  496E 632E                chk.w      D4, [A6 + 0x632E]
  885. export_155:
  886. 00000A4A  4E56 FFF4                link       A6, -0x000C
  887. 00000A4E  48E7 0018                movem.l    -[A7], A3,A4
  888. 00000A52  286E 0008                movea.l    A4, [A6 + 0x8]
  889. 00000A56  486E FFF8                pea.l      [A6 - 0x8]
  890. 00000A5A  42A7                     clr.l      -[A7]
  891. 00000A5C  2F3C 00C8 00C8           move.l     -[A7], 0xC800C8
  892. 00000A62  A8A7                     syscall    SetRect
  893. 00000A64  42A7                     clr.l      -[A7]
  894. 00000A66  42A7                     clr.l      -[A7]
  895. 00000A68  486E FFF8                pea.l      [A6 - 0x8]
  896. 00000A6C  42A7                     clr.l      -[A7]
  897. 00000A6E  4267                     clr.w      -[A7]
  898. 00000A70  1F3C 0001                move.b     -[A7], 0x1
  899. 00000A74  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  900. 00000A78  4EAD 203A                jsr        [A5 + 0x203A /* export_1027 */]
  901. 00000A7C  2054                     movea.l    A0, [A4]
  902. 00000A7E  117C 0001 003A           move.b     [A0 + 0x3A], 0x1
  903. 00000A84  117C 0001 003B           move.b     [A0 + 0x3B], 0x1
  904. 00000A8A  42A7                     clr.l      -[A7]
  905. 00000A8C  A9F9                     syscall    InfoScrap
  906. 00000A8E  265F                     movea.l    A3, [A7]+
  907. 00000A90  302B 0008                move.w     D0, [A3 + 0x8]
  908. 00000A94  5340                     subq.w     D0, 1
  909. label00000A96:
  910. 00000A96  2054                     movea.l    A0, [A4]
  911. 00000A98  3140 0042                move.w     [A0 + 0x42], D0
  912. 00000A9C  7000                     moveq.l    D0, 0x00
  913. 00000A9E  2140 0044                move.l     [A0 + 0x44], D0
  914. 00000AA2  4CDF 1800                movem.l    A3,A4, [A7]+
  915. 00000AA6  4E5E                     unlink     A6
  916. 00000AA8  2E9F                     move.l     [A7], [A7]+
  917. 00000AAA  4E75                     rts
  918. export_156:
  919. 00000AAC  4E56 FFFA                link       A6, -0x0006
  920. 00000AB0  41ED FF32                lea.l      A0, [A5 - 0xCE]
  921. 00000AB4  43FA 0082                lea.l      A1, [PC + 0x82 /* 00000B38, value 0x31436F70 '1Cop' */]
  922. 00000AB8  700B                     moveq.l    D0, 0x0B
  923. label00000ABA:
  924. 00000ABA  20D9                     move.l     [A0]+, [A1]+
  925. 00000ABC  51C8 FFFC                dbf        D0, -0x6 /* 00000ABA */
  926. 00000AC0  3091                     move.w     [A0], [A1]
  927. 00000AC2  422D FF73                clr.b      [A5 - 0x8D]
  928. 00000AC6  7000                     moveq.l    D0, 0x00
  929. 00000AC8  2B40 FF66                move.l     [A5 - 0x9A], D0
  930. 00000ACC  7000                     moveq.l    D0, 0x00
  931. 00000ACE  2B40 FEF0                move.l     [A5 - 0x110], D0
  932. 00000AD2  486D FF6A                pea.l      [A5 - 0x96]
  933. 00000AD6  2F3C 0048 0048           move.l     -[A7], 0x480048 /* 'H\0H' */
  934. 00000ADC  2F3C FFB8 FFB8           move.l     -[A7], 0xFFB8FFB8
  935. 00000AE2  A8A7                     syscall    SetRect
  936. 00000AE4  1B7C 0001 FEF5           move.b     [A5 - 0x10B], 0x1
  937. 00000AEA  2B7C 0000 0946 FF2E      move.l     [A5 - 0xD2], 0x946 /* '\tF' */
  938. 00000AF2  102D FF11                move.b     D0, [A5 - 0xEF]
  939. 00000AF6  6606                     bne        +0x8 /* 00000AFE */
  940. 00000AF8  4267                     clr.w      -[A7]
  941. 00000AFA  4EAD 04BA                jsr        [A5 + 0x4BA /* export_147 */]
  942. label00000AFE:
  943. 00000AFE  202D FD7A                move.l     D0, [A5 - 0x286]
  944. 00000B02  B0AD FD86                cmp.l      D0, [A5 - 0x27A]
  945. 00000B06  662C                     bne        +0x2E /* 00000B34 */
  946. 00000B08  486E FFFA                pea.l      [A6 - 0x6]
  947. 00000B0C  486D 295C                pea.l      [A5 + 0x295C]
  948. 00000B10  3F3C 00B0                move.w     -[A7], 0xB0
  949. 00000B14  4EAD 033A                jsr        [A5 + 0x33A /* export_99 */]
  950. 00000B18  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  951. 00000B1C  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  952. 00000B20  42A7                     clr.l      -[A7]
  953. 00000B22  1F3C 0001                move.b     -[A7], 0x1
  954. 00000B26  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  955. 00000B2A  4EAD 226A                jsr        [A5 + 0x226A /* export_1097 */]
  956. 00000B2E  2B6E FFFA FD7A           move.l     [A5 - 0x286], [A6 - 0x6]
  957. label00000B34:
  958. 00000B34  4E5E                     unlink     A6
  959. 00000B36  4E75                     rts
  960. 00000B38  3143 6F70                move.w     [A0 + 0x6F70], D3
  961. 00000B3C  7972                     moveq.l    D4, 0x72
  962. 00000B3E  6967                     bvs        +0x69 /* 00000BA7 */
  963. 00000B40  6874                     bvc        +0x76 /* 00000BB6 */
  964. 00000B42  20A9 2031                move.l     [A0], [A1 + 0x2031]
  965. 00000B46  3938 342C                move.w     -[A4], [0x0000342C]
  966. 00000B4A  2031 3938 352C 2031      move.l     D0, [A1 + 0x352C2031 + D3]
  967. 00000B52  3938 362C                move.w     -[A4], [0x0000362C]
  968. 00000B56  2041                     movea.l    A0, D1
  969. 00000B58  7070                     moveq.l    D0, 0x70
  970. 00000B5A  6C65                     bge        +0x67 /* 00000BC1 */
  971. 00000B5C  2043                     movea.l    A0, D3
  972. 00000B5E  6F6D                     ble        +0x6F /* 00000BCD */
  973. 00000B60  7075                     moveq.l    D0, 0x75
  974. 00000B62  7465                     moveq.l    D2, 0x65
  975. 00000B64  7220                     moveq.l    D1, 0x20
  976. 00000B66  496E 632E                chk.w      D4, [A6 + 0x632E]
  977. export_157:
  978. 00000B6A  4E56 0000                link       A6, 0
  979. 00000B6E  4EAD 032A                jsr        [A5 + 0x32A /* export_97 */]
  980. 00000B72  2F3A 0074                move.l     -[A7], [PC + 0x74 /* 00000BE8, value 0x54524B53 'TRKS', pstring "RKS" */]
  981. 00000B76  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  982. 00000B7A  4EAD 1BC2                jsr        [A5 + 0x1BC2 /* export_884 */]
  983. 00000B7E  3B7C 0040 FFF8           move.w     [A5 - 0x8], 0x40 /* '@' */
  984. 00000B84  3B7C 0040 FFFA           move.w     [A5 - 0x6], 0x40 /* '@' */
  985. 00000B8A  3B7C 002D FFF4           move.w     [A5 - 0xC], 0x2D /* '-' */
  986. 00000B90  3B7C 00B4 FFF6           move.w     [A5 - 0xA], 0xB4
  987. 00000B96  1B7C 0001 FFEA           move.b     [A5 - 0x16], 0x1
  988. 00000B9C  3B7C 0002 FFEC           move.w     [A5 - 0x14], 0x2
  989. 00000BA2  486D FD64                pea.l      [A5 - 0x29C]
  990. 00000BA6  3F3C 0004                move.w     -[A7], 0x4
  991. 00000BAA  302D FD94                move.w     D0, [A5 - 0x26C]
  992. 00000BAE  5840                     addq.w     D0, 4
  993. 00000BB0  3F00                     move.w     -[A7], D0
  994. 00000BB2  302D F9B0                move.w     D0, [A5 - 0x650]
  995. label00000BB6:
  996. 00000BB6  5940                     subq.w     D0, 4
  997. 00000BB8  3F00                     move.w     -[A7], D0
  998. 00000BBA  302D F9AE                move.w     D0, [A5 - 0x652]
  999. 00000BBE  5940                     subq.w     D0, 4
  1000. 00000BC0  3F00                     move.w     -[A7], D0
  1001. 00000BC2  A8A7                     syscall    SetRect
  1002. 00000BC4  42A7                     clr.l      -[A7]
  1003. 00000BC6  3F3C 07D0                move.w     -[A7], 0x7D0
  1004. 00000BCA  42A7                     clr.l      -[A7]
  1005. 00000BCC  70FF                     moveq.l    D0, 0xFFFFFFFF
  1006. 00000BCE  2F00                     move.l     -[A7], D0
  1007. 00000BD0  A97C                     syscall    GetNewDialog
  1008. 00000BD2  2B5F FFF0                move.l     [A5 - 0x10], [A7]+
  1009. 00000BD6  2F2D FFF0                move.l     -[A7], [A5 - 0x10]
  1010. 00000BDA  A981                     syscall    DrawDialog
  1011. 00000BDC  1B7C 0001 FFEF           move.b     [A5 - 0x11], 0x1
  1012. 00000BE2  4E5E                     unlink     A6
  1013. 00000BE4  2E9F                     move.l     [A7], [A7]+
  1014. 00000BE6  4E75                     rts
  1015. 00000BE8  5452                     addq.w     [A2], 2
  1016. 00000BEA  4B53                     chk.w      D5, [A3]
  1017.